package net.wofly.sale.commission.util;

/**
 * 统计时长
 * @author lign
 * @version 1.0
 * @created 31-十二月-2017 10:39:55
 */
public enum SumDuration {
	日(1, "日"),
	月(2, "月"),
	季(3, "季"),
	年(4, "年");

	private int value;
	private String name;

	SumDuration(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}